package com.xfly.app.bean;

import java.util.List;

public class DetilBean {

    /**
     * id : 1
     * name : 测试商品一
     * album : [{"id":16,"filepath":"/public/uploads/20190820/651acc610463cf2f6403306d0caca12f.jpg"},{"id":12,"filepath":"/public/uploads/20190820/f1f693c9f65cae93c2d6be4f5aafd820.png"},{"id":14,"filepath":"/public/uploads/20190820/97009005b88a27d1e2cd10754207be00.png"}]
     * content : &lt;img src=&quot;/public/attached/image/20190823/20190823085211_50597.jpg&quot; alt=&quot;&quot; /&gt;
     * comments :
     * comments_number : 0
     * specs : [{"id":1,"name":"测试规格1","price":"10.00","stock":1000},{"id":2,"name":"测试规格2","price":"10.00","stock":1000},{"id":3,"name":"测试规格3","price":"50.00","stock":1000},{"id":5,"name":"234","price":"234.00","stock":234},{"id":8,"name":"4564","price":"456456.00","stock":5645},{"id":9,"name":"4564","price":"456456.00","stock":5645},{"id":11,"name":"4564","price":"456456.00","stock":5645},{"id":12,"name":"456456","price":"456.00","stock":4564},{"id":13,"name":"45645","price":"456.00","stock":64545},{"id":14,"name":"456456","price":"456.00","stock":456}]
     * sale : 26
     * stock : 89734
     */

    private int id;
    private String name;
    private String content;
    private String comments;
    private int comments_number;
    private int sale;
    private int stock;
    private List<AlbumBean> album;
    private List<SpecsBean> specs;

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public String getComments() {
        return comments;
    }

    public void setComments(String comments) {
        this.comments = comments;
    }

    public int getComments_number() {
        return comments_number;
    }

    public void setComments_number(int comments_number) {
        this.comments_number = comments_number;
    }

    public int getSale() {
        return sale;
    }

    public void setSale(int sale) {
        this.sale = sale;
    }

    public int getStock() {
        return stock;
    }

    public void setStock(int stock) {
        this.stock = stock;
    }

    public List<AlbumBean> getAlbum() {
        return album;
    }

    public void setAlbum(List<AlbumBean> album) {
        this.album = album;
    }

    public List<SpecsBean> getSpecs() {
        return specs;
    }

    public void setSpecs(List<SpecsBean> specs) {
        this.specs = specs;
    }

    public static class AlbumBean {
        /**
         * id : 16
         * filepath : /public/uploads/20190820/651acc610463cf2f6403306d0caca12f.jpg
         */

        private int id;
        private String filepath;

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public String getFilepath() {
            return filepath;
        }

        public void setFilepath(String filepath) {
            this.filepath = filepath;
        }
    }

    public static class SpecsBean {
        /**
         * id : 1
         * name : 测试规格1
         * price : 10.00
         * stock : 1000
         */

        private int id;
        private String name;
        private String price;
        private int stock;

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public String getPrice() {
            return price;
        }

        public void setPrice(String price) {
            this.price = price;
        }

        public int getStock() {
            return stock;
        }

        public void setStock(int stock) {
            this.stock = stock;
        }
    }
}
